go.uber.org/zap.SugaredLogger.base (field)
17 uses
go.uber.org/zap (current package)
sugar.go#L56: base *Logger
sugar.go#L64: base := s.base.clone()
sugar.go#L71: return &SugaredLogger{base: s.base.Named(name)}
sugar.go#L77: base := s.base.clone()
sugar.go#L81: return &SugaredLogger{base: base}
sugar.go#L115: return &SugaredLogger{base: s.base.With(s.sweetenFields(args)...)}
sugar.go#L122: return zapcore.LevelOf(s.base.core)
sugar.go#L303: return s.base.Sync()
sugar.go#L310: if lvl < DPanicLevel && !s.base.Core().Enabled(lvl) {
sugar.go#L315: if ce := s.base.Check(lvl, msg); ce != nil {
sugar.go#L322: if lvl < DPanicLevel && !s.base.Core().Enabled(lvl) {
sugar.go#L327: if ce := s.base.Check(lvl, msg); ce != nil {
sugar.go#L383: s.base.Error(_multipleErrMsg, Error(err))
sugar.go#L391: s.base.Error(_oddNumberErrMsg, Any("ignored", args[i]))
sugar.go#L412: s.base.Error(_nonStringKeyErrMsg, Array("invalid", invalid))
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |